/*
 *------------------------------------------------------------------------------
 * @File      :    ei_mai_nna.h
 * @Date      :    2021-4-8
 * @Author    :    lomboswer <lomboswer@lombotech.com>
 * @Brief     :    Media Interface for MADP(Media Development Platform).
 *
 * Copyright (C) 2020-2021, LomboTech Co.Ltd. All rights reserved.
 *------------------------------------------------------------------------------
 */

#ifndef __EI_NNA_FACE_MASK_DET_DEFINE_H__
#define __EI_NNA_FACE_MASK_DET_DEFINE_H__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#include "ei_nna_define.h"
#include "ei_nna_fd_define.h"

typedef struct eiNNA_FACE_MASK_DET_CONFIG_S {
	EI_CHAR *ModelRootPath;

	EI_S32 s32Width;
	EI_S32 s32Height;

	EI_FLOAT f32Thresh[2];
} EI_NNA_FACE_MASK_DET_CONFIG_S;

typedef struct eiNNA_FACE_MASK_S {
	EI_S32 s32Mask;
} EI_NNA_FACE_MASK_S;

typedef struct eiNNA_FACES_MASK_S {
	EI_S32 s32Num;
	EI_NNA_FACE_MASK_S stFacesMask[DEFAULT_NNA_FACE_DET_CONFIG_MAX_DET_CNT];
} EI_NNA_FACES_MASK_S;

typedef EI_S32 NNA_FMD_CHN;
typedef EI_NNA_FACES_S EI_NNA_SRC_FMD_S;
typedef EI_NNA_FACES_MASK_S EI_NNA_DST_FMD_S;
typedef EI_NNA_FACE_MASK_DET_CONFIG_S EI_NNA_FMD_CONFIG_S;

#ifdef __cplusplus
}
#endif

#endif
